<!DOCTYPE html>
<html lang="en">
<head>
     <meta charset="UTF-8">
     <title>使用ejs渲染</title>
</head>
<body>
     <%
          var today = new Date()
     %>
     <p><span>现在是：</span><span style="color: red"><%=today%></span></p>
</body>
</html>